﻿namespace NetCoreApi.Controllers.Dto
{
    /// <summary>
    /// 菜单
    /// </summary>
    public class Menu
    {
        /// <summary>
        /// 路径
        /// </summary>
        public string? Path { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 标签
        /// </summary>
        public string? Label { get; set; }

        /// <summary>
        /// 图标
        /// </summary>
        public string? Icon { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        public string? Url { get; set; }

        /// <summary>
        /// 子菜单
        /// </summary>
        public Menu[]? Children { get; set; }
    }
}